home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Virtual User / Virtual User Current Release / Examples / Example External Tools / ProcessTool / ProcessTool.r < prev    next >
Encoding:
Text File  |  1998-06-04  |  1.7 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        ProcessTool.r
  3.  *
  4.  *    Contains:    Contains resources specific to ProcessTool
  5.  *                These may or may not over ride those resources
  6.  *                from the C++ Tool Template, which process tool derives from
  7.  *
  8.  *    Written by:    Rick Violet
  9.  *
  10.  *    Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  11.  *
  12.  *    Change History (most recent first):
  13.  *
  14.  *                11/18/92    RV        Put in "About Box" resource to over ride template's
  15.  *
  16.  *    To Do:
  17.  */
  18.  
  19. #include "SysTypes.r"
  20. #include "Types.r"
  21.  
  22. #include "Application.R.h"
  23.  
  24. /*——————————————————————————————————————————————————————————————————————————————————*/
  25. /*    MENU    -    apple menu                                                            */            
  26. /*——————————————————————————————————————————————————————————————————————————————————*/
  27. resource 'MENU' ( kAppleMenuID, preload ) 
  28. {
  29.     kAppleMenuID, textMenuProc,
  30.     0b1111111111111111111111111111101,    /* enable About… & DAs, disable separator */
  31.     enabled, apple,
  32.     {    
  33.         "About ProcessTool…",    noIcon,     noKey,     noMark,     plain,
  34.         "-",                     noIcon,     noKey,     noMark,     plain
  35.     }
  36. };
  37.  
  38. /*——————————————————————————————————————————————————————————————————————————————————*/
  39. /*    DITL    -    About box alert    item list                                            */
  40. /*——————————————————————————————————————————————————————————————————————————————————*/
  41. resource 'DITL' ( kAboutAlertID, purgeable ) 
  42. { {                                
  43.     { 88, 184, 108, 264}, Button     { enabled,     "OK"    },
  44.     {  8,   8,  26, 245}, StaticText { disabled, "Example Virtual User External Tool."    },
  45.     { 32,   8,  48, 244}, StaticText { disabled, "Written in C++."    },
  46.     { 56,   8,  71, 244}, StaticText { disabled, "Brought to you by: Phil Thompson"    },
  47.     { 80,   8, 114, 170}, StaticText { disabled, "Copyright © 1992 \n"
  48.                                                  "Apple Computer, Inc."    }
  49. } };
  50.  
  51.